#ifndef __MIDUART1_H
#define __MIDUART1_H
#include "MyIncludes.h"


void MidUart1BuffInit(void);

u16 MidGetUart1RxBuffBytes(void);
u16 MidGetUart1TxBuffBytes(void);
void MidFlushUart1RxBuffBytes(void);
void MidFlushUart1TxBuffBytes(void);
u8 MidPutNBytesToUart1RxBuff(u8* buff,u16 size);
u8 MidPutNBytesToUart1TxBuff(u8* buff,u16 size);
u8 MidGetNBytesFromUart1RxBuff(u8* buff,u16 size);
u8 MidGetNBytesFromUart1TxBuff(u8* buff,u16 size);


#endif 

